const { patchRequire } = require("../utils/index")

module.exports = app => patchRequire('router', router => {
  app.use(router.routes())
  app.use(router.allowedMethods())
})
